<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<jsp:include page="Header.jsp" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Approve</title>
</head>
<body>
	<jsp:include page="AdminNav.jsp" />


	<form:form method="POST" commandName="LeaveDetail"
		action="${pageContext.request.contextPath}/LeaveDetail/back.html">
		<table>
			<tbody>

				<tr>
					<td>Applied Date:</td>
					<td> ${LeaveDetail.applicationDate}</td>
				</tr>
				<tr>
					<td>Employee Name:</td>
					<td> ${LeaveDetail.employeeId.name}</td>
				</tr>
				<tr>
					<td>Start Date:</td>
					<td> ${LeaveDetail.startDate}</td>
				</tr>
				<tr>
					<td>End Date:</td>
					<td> ${LeaveDetail.endDate}</td>
				</tr>
				<tr>
					<td>Leave Type:</td>
					<td> ${LeaveDetail.leaveType.name}</td>
				</tr>
				<tr>
					<td>Reason:</td>
					<td> ${LeaveDetail.reason}</td>
				</tr>
				<tr>
					<td>Application Status:</td>
					<td> ${ LeaveDetail.status}</td>
				</tr>
				<tr>
					<td>Approval:</td>
					<td> ${ LeaveDetail.approvalStatus}</td>
				</tr>
				<tr>
					<td></td>
					<td class="pull-right"><input type="submit" value="Back" class="btn btn-primary"/></td>
					<td></td>
				</tr>
			</tbody>

		</table>
	</form:form>



	<jsp:include page="footer.jsp" />
</body>
</html>
